<template>
  <!-- 位置模块 -->
  <div class="page-position"><span>当前位置 :&nbsp;</span>
    <el-breadcrumb separator-class="el-icon-arrow-right">
      <el-breadcrumb-item v-for="(item,key,index) in $route.meta.position" :key="item.id">{{item}}</el-breadcrumb-item>
    </el-breadcrumb>
  </div>

</template>

<script>

  import {bus} from '../../js/brothersBus'
  import com from '../../js/common'

  export default {
    name: "head-top",
    created() {
      const menuSelect = this.$route.meta.menu
      // com.setStore('menuSelect', menuSelect)
      // bus.$emit('setMenuSelect', menuSelect)
    }
  }
</script>
